package com.honeyms.project.blog.blogrecommend.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.honeyms.framework.aspectj.lang.annotation.Excel;
import com.honeyms.framework.web.domain.BaseEntity;

/**
 * 帖子推荐统计对象 blog_recommend
 * 
 * @author honeyms
 * @date 2020-12-30
 */
public class BlogRecommend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 用户编号 */
    @Excel(name = "用户编号")
    private Long userId;

    /** 标签 */
    @Excel(name = "标签")
    private Integer tags;

    /** 点击量 */
    @Excel(name = "点击量")
    private Long count;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setTags(Integer tags)
    {
        this.tags = tags;
    }

    public Integer getTags()
    {
        return tags;
    }
    public void setCount(Long count)
    {
        this.count = count;
    }

    public Long getCount()
    {
        return count;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("tags", getTags())
            .append("count", getCount())
            .toString();
    }
}
